<template>
<div>
  <el-container>
    <el-header>
    <button type="button" class="el-button el-button--primary"><router-link to="/" tag="span">首页</router-link></button>
    <button type="button" class="el-button el-button--primary"><router-link to="/bag" tag="span">商城页面</router-link></button>
    <button type="button" class="el-button el-button--primary"><router-link to="/myRightMain" tag="span">文章推荐</router-link></button>
    <button type="button" class="el-button el-button--primary"><router-link to="/user/red" tag="span">用户</router-link></button>
    </el-header>
    <el-container>
      <el-container>
        <el-main>
            各种包的主页
            <router-link to="/bag/boybag">跳转到男生背包主页</router-link>
            <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </el-container>
</div>
</template>


<script>
export default {
  data(){
    return{
      
    }
  },
  methods:{
    
  }
}
</script>

<style>
 .el-header, .el-footer {
    background-color: khaki;
    color: #333;
    text-align: center;
    line-height: 60px;
  }
  .el-main {
    background-color: #E9EEF3;
    color: #333;
    text-align: center;
    line-height: 100px;
  }
  
  body > .el-container {
    margin-bottom: 40px;
  }
</style>